Fix call to server, using new XendClient syntax.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 10 Apr 2006 15:26:23 +0000 (16:26 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 10 Apr 2006 15:26:23 +0000 (16:26 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/util/diagnose.py

index 51c59fdfff6319476da0fb727f7c91540048122c..d2d51eb626e0795eefa95af343091e327891ef97 100644 (file)
@@ -41,7 +41,7 @@ def diagnose(dom):
     global dompath
     
     try:
-        domain = server.xend_domain(dom)
+        domain = server.xend.domain(dom)
         state = sxp.child_value(domain, 'state')
         domid = int(sxp.child_value(domain, 'domid'))
         name = sxp.child_value(domain, 'name')